﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Detail.aspx.cs" MasterPageFile="~/Master/HomeMaster.Master" Inherits="CSP.Web.MyHome.Address.Detail" %>



<asp:Content ID="CSPHead" ContentPlaceHolderID="CSPHead" runat="server">
    <meta charset="utf-8">
    <title>地理位置管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
</asp:Content>
<asp:Content ID="CSPStyleAndScript" ContentPlaceHolderID="CSPStyleAndScript" runat="server">
    <%--<script type="text/javascript" src="/Scripts/Map/tangram.js"></script>--%>
    <script type="text/javascript" src="/Scripts/Validate/validate.js"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
    <%--<script type="text/javascript" src="/Scripts/Map/make.js"></script>--%>
    <script language="javascript" type="text/javascript">
// <![CDATA[
        $().ready(function () {
            $("#MyHome").validate();
        });


// ]]>
    </script>
</asp:Content>
<asp:Content ID="CSPCrumbs" ContentPlaceHolderID="CSPCrumbs" runat="server">
    <div class="crumbs">
        <span>您当前所在的位置：</span> <a href="/">首页</a> &gt; <a href="/MyHome/Account/Management.aspx">我的家园</a> &gt; <span>地理位置明细</span>
    </div>
    <!--crumbs-->
</asp:Content>
<asp:Content ID="CSPRight" ContentPlaceHolderID="CSPRight" runat="server">
    <div class="pr10">
        <div class="tabs tabs-home mt10">
            <div class="tabs-nd">
                <ul class="tabs-hd">
                    <li class="trigger current">地理位置管理</li>
                </ul>
            </div>
            <div class="tabs-bd">
                <div class="tabs-panel">
                    <table width="90%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td height="50" align="right">
                                <strong class="fc-red">新增服务区域 </strong>
                            </td>
                            <td>
                                电话号码、手机号选填一项,其余均为必填项
                            </td>
                        </tr>
                        <tr>
                            <td width="29%" height="50" align="right">
                                <span class="fc-red">*</span>名称：
                            </td>
                            <td width="71%">
                                
                                <asp:Label ID="L_Name" runat="server" Text="L_Name"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td height="50" align="right">
                                <span class="fc-red">*</span> 服务区域：
                            </td>
                            <td>
                                <asp:Label ID="L_Province" runat="server" Text="L_Province"></asp:Label>&nbsp;
                                <asp:Label name="L_City" runat="server" id="L_City" />
                                <asp:Label name="L_County" runat="server" id="L_County" />
                            </td>
                        </tr>
                        <tr>
                            <td height="50" align="right">
                                <span class="fc-red">*</span>街道地址：
                            </td>
                            <td>
                            <asp:Label name="L_Street" runat="server" id="L_Street" />
                            </td>
                        </tr>
                        <tr>
                            <td height="50" align="right">
                                <span class="fc-red">*</span>电话号码：
                            </td>
                            <td>
                            <asp:Label name="L_Phone" runat="server" id="L_Phone" />
                            </td>
                        </tr>
                        <tr>
                            <td height="50" align="right">
                                <span class="fc-red">*</span>手机号码：
                            </td>
                            <td>
                            <asp:Label name="L_Mobile" runat="server" id="L_Mobile" />
                            </td>
                        </tr>
                        <tr>
                            <td height="50" align="right">
                                <span class="fc-red">*</span>email地址：
                            </td>
                            <td>
                                <asp:Label name="L_Email" runat="server" id="L_Email" />
                            </td>
                        </tr>
                        <tr>
                            <td height="50" align="right">
                                描述：
                            </td>
                            <td>
                            <asp:Label name="L_Introduction" runat="server" id="L_Introduction" />
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td height="60" colspan="2" align="center">
                                <div id="right_container">
                                    <div id="Div1">
                                        <div style="width: 520px; height: 340px; border: 1px solid gray" id="map_container">
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td height="60" align="center">
                            </td>
                            <td height="60" align="left" valign="top">
                                &nbsp;
                                <div style="display: none">
                                    <input name="Txt_CenterPointX" type="text" id="Txt_CenterPointX" runat="server" size="40">
                                    <input name="Txt_CenterPointY" type="text" id="Txt_CenterPointY" runat="server" size="40">
                                    <input name="Txt_MarkerPointX" type="text" id="Txt_MarkerPointX" runat="server" size="40">
                                    <input name="Txt_MarkerPointY" type="text" id="Txt_MarkerPointY" runat="server" size="40">
                                    <input name="Txt_Zoom" type="text" id="Txt_Zoom" runat="server" size="40">
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
                <!--tabs-panel-->
            </div>
            <!--tabs-bd-->
        </div>
        <!--tabs-->
    </div>
    <script type="text/javascript">
    
    </script>
    <script type="text/javascript" src="/Scripts/Map/setInformation.js"></script>
    <script type="text/javascript">

        CustomMap.ModifyMapInit = function () {
            CustomMap.CenterPointX = $("#<%=Txt_CenterPointX.ClientID %>").val();
            CustomMap.CenterPointY = $("#<%=Txt_CenterPointY.ClientID %>").val();
            CustomMap.Zoom = $("#<%=Txt_Zoom.ClientID %>").val();
            CustomMap.MarkerPointX = $("#<%=Txt_MarkerPointX.ClientID %>").val();
            CustomMap.MarkerPointY = $("#<%=Txt_MarkerPointY.ClientID %>").val();
        }

        CustomMap.Init();
      
    </script>
</asp:Content>